﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ECCSystem.BizRule;

namespace ECCSystem.UserControls
{
	public partial class DigNodeText : Form
	{
		public DigNodeText()
		{
			InitializeComponent();
		}

		private bool m_blReturn = false;

		public bool blReturn
		{
			get
			{
				return m_blReturn;
			}
			private set
			{
				m_blReturn = value;
			}
		}

		private string m_strNodeName = "";

		public string strNodeName
		{
			get
			{
				return m_strNodeName;
			}
			private set
			{
				m_strNodeName = value;
			}
		}

		private void btnOk_Click(object sender, EventArgs e)
		{
			if (this.txtNodeName.Text.Trim() == "")
			{
				MessageBox.Show("种类名不能为空！", "ECC Information");
			}
			m_blReturn = true;
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			m_blReturn = false;
		}
	}
}